package com.minis.beans.factory.config;

import com.minis.beans.BeansException;

/**
 * @Author： HTTT
 * @Date： 2024/2/29 18:04
 * @Describe：
 */
public interface AutowireCapableBeanFactory {
    int AUTOWIRE_NO = 0;
    int AUTOWIRE_BY_NAME = 1;
    int AUTOWIRE_BY_TYPE = 2;

    Object applyBeanPostProcessorsBeforeInitialization(Object existingBean, String beanName)
            throws BeansException;

    Object applyBeanPostProcessorsAfterInitialization(Object existingBean, String beanName)
            throws BeansException;
}
